package com.xuanxing123.service.impl;

import com.xuanxing123.dao.AgentDao;
import com.xuanxing123.model.Agent;
import com.xuanxing123.service.AgentManager;
import com.xuanxing123.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("agentManager")
@WebService(serviceName = "AgentService", endpointInterface = "com.xuanxing123.service.AgentManager")
public class AgentManagerImpl extends GenericManagerImpl<Agent, Long> implements AgentManager {
    AgentDao agentDao;

    @Autowired
    public AgentManagerImpl(AgentDao agentDao) {
        super(agentDao);
        this.agentDao = agentDao;
    }
}